//
//  JBWInputNewPassWordViewController.m
//  JBWDSK
//
//  Created by 崔志伟 on 2018/8/2.
//  Copyright © 2018年 崔志伟. All rights reserved.
//

#import "JBWInputNewPassWordViewController.h"

@interface JBWInputNewPassWordViewController ()
@property (nonatomic,strong)  JBWPlaceholderUITextField *passwordTextField  ;
@property (nonatomic,strong)  JBWPlaceholderUITextField *surePasswordTextField ;

@end

@implementation JBWInputNewPassWordViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.mainNavView.backTitle = @"修改密码";
    [self setupsubView];
}
- (void)setupsubView {
    self.passwordTextField = [[JBWPlaceholderUITextField alloc]initWithFrame:CGRectMake(15, 20, self.contenView.frame.size.width-30, 30)];
    self.passwordTextField .textColor = [UIColor whiteColor];
    self.passwordTextField .font = [UIFont systemFontOfSize:15];
    self.passwordTextField .placeholder = @"请输入新的密码";
    [self.contenView addSubview:self.passwordTextField ];
    UIView *lineView1 = [[UIView alloc]initWithFrame:CGRectMake(15, 50, self.contenView.frame.size.width-30, 1)];
    lineView1.backgroundColor = [UIColor grayColor];
    [self.contenView addSubview:lineView1];
    
    
    self.surePasswordTextField = [[JBWPlaceholderUITextField alloc]initWithFrame:CGRectMake(15, 60, self.contenView.frame.size.width-30, 30)];
    self.surePasswordTextField.textColor = [UIColor whiteColor];
    self.surePasswordTextField.font = [UIFont systemFontOfSize:15];
    self.surePasswordTextField.placeholder = @"请再次输入";
    [self.contenView addSubview:self.surePasswordTextField];

    UIView *lineView2 = [[UIView alloc]initWithFrame:CGRectMake(15, 90, self.contenView.frame.size.width-30, 1)];
    lineView2.backgroundColor = [UIColor grayColor];
    [self.contenView addSubview:lineView2];
    
    UIButton *nextBtn = [[UIButton alloc]initWithFrame:CGRectMake(15, 120, self.contenView.frame.size.width-30, 40)];
    nextBtn.backgroundColor = [UIColor orangeColor];
    [nextBtn setTitle:@"确定修改" forState:UIControlStateNormal];
    [nextBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
    nextBtn.titleLabel.font = [UIFont systemFontOfSize:15];
    nextBtn.layer.cornerRadius = 5;
    nextBtn.layer.masksToBounds = YES;
    [nextBtn addTarget:self action:@selector(nextBtnAction) forControlEvents:UIControlEventTouchUpInside];
    [self.contenView addSubview:nextBtn];
}

- (void)nextBtnAction{
    
    
}


@end
